package com.bw.network_sdk;

import com.bw.network_sdk.interceptor.SignInterceptor;

import okhttp3.OkHttpClient;
import retrofit2.Retrofit;

public class SignRetrofitImpl extends BaseHttpRetrofitImpl{
    @Override
    protected long readtime() {
        return 30;
    }

    @Override
    protected long connectime() {
        return 30;
    }

    @Override
    protected long writetime() {
        return 30;
    }

    @Override
    public Retrofit createRetrofit() {
        SignInterceptor interceptor = new SignInterceptor();
        OkHttpClient.Builder builder = createokHttpBuilder();
        builder.addInterceptor(interceptor);
        return createRetrofit(builder.build());
    }
}
